<?php 
	include '../init.php';
	include ADMIN_PATH.'/header.php';

	$id=$_GET['id'];
	/*$model=new Model('user');

	$sql="select 
			u.`username` uname,
			u.`id` 		 uid,
			u.`regtime`  utime,
			ui.`name`    uiname,
			ui.`face`    uiface,
			ui.`sex`     uisex,
			ui.`tel`     uitel,
			ui.`qq`      uiqq,
			ui.`email`   uiemail,
			ui.`birthday` uibirth,
			ui.`age`      uiage,
			ui.`logintime` uitime
			from `user`   u,
			`user_info`   ui
			where u.id=ui.uid and u.id=$id";

	$list=$model->find($sql);
	foreach ($list as $key => $value) 
	{
		$list[$key]['utime']=date('Y年m月d日',$value['utime']);
		$list[$key]['uiname']=$value['uiname']=='xx'?'没有昵称':$value['uiname'];
		$list[$key]['uiface']=$value['uiface']=='no.jpg'?URL.'/public/images/no.jpg':'';
		$list[$key]['uibirth']=$value['uibirth']?date('Y年m月d日',$value['uibirth']):'没有生日';
		$list[$key]['uiage']=$value['uiage']?$value['uiage']:'还没有出生';
		$list[$key]['utime']=date('Y年m月d日',$value['utime']);
	}
	$list=$list[0];*/
?>

<div>
	<a href="<?php echo ADMIN_URL;?>/user/action.php?a=edit&id=<?php echo $id;?>"><button>重置密码</button></a>
</div>

<?php 
	include ADMIN_PATH.'/footer.html';

?>